package com.yanghui.dtracing.core.opentracing.propagation;

import io.opentracing.SpanContext;

/**
 *
 * @param <C>
 */
public interface Injector<C> {

    /**
     * 将spanContext注入到carrier中
     * @param spanContext
     * @param carrier
     */
    void inject(SpanContext spanContext, C carrier);

}
